.class public Lcom/instagram/android/fragment/bk;
.super Lcom/instagram/e/b/b;
.source "FacebookAdvancedOptionsFragment.java"

# interfaces
.implements Lcom/instagram/a/b;


# instance fields
.field private a:Lcom/instagram/android/d/e/u;

.field private b:Landroid/os/Handler;

.field private c:Lcom/instagram/android/d/j/a;

.field private d:Lcom/instagram/android/widget/IndeterminateCheckBox;

.field private e:Landroid/view/View;

.field private f:Landroid/view/View;

.field private final g:Lcom/instagram/android/fragment/bs;


# direct methods
.method public constructor <init>()V
    .locals 2

    .prologue
    .line 33
    invoke-direct {p0}, Lcom/instagram/e/b/b;-><init>()V

    .line 38
    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    iput-object v0, p0, Lcom/instagram/android/fragment/bk;->b:Landroid/os/Handler;

    .line 43
    new-instance v0, Lcom/instagram/android/fragment/bs;

    const/4 v1, 0x0

    invoke-direct {v0, p0, v1}, Lcom/instagram/android/fragment/bs;-><init>(Lcom/instagram/android/fragment/bk;Lcom/instagram/android/fragment/bl;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/bk;->g:Lcom/instagram/android/fragment/bs;

    .line 185
    return-void
.end method

.method static synthetic a(Lcom/instagram/android/fragment/bk;)Lcom/instagram/android/widget/IndeterminateCheckBox;
    .locals 1
    .parameter

    .prologue
    .line 33
    iget-object v0, p0, Lcom/instagram/android/fragment/bk;->d:Lcom/instagram/android/widget/IndeterminateCheckBox;

    return-object v0
.end method

.method static synthetic b(Lcom/instagram/android/fragment/bk;)Landroid/os/Handler;
    .locals 1
    .parameter

    .prologue
    .line 33
    iget-object v0, p0, Lcom/instagram/android/fragment/bk;->b:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic c(Lcom/instagram/android/fragment/bk;)Lcom/instagram/android/d/e/u;
    .locals 1
    .parameter

    .prologue
    .line 33
    iget-object v0, p0, Lcom/instagram/android/fragment/bk;->a:Lcom/instagram/android/d/e/u;

    return-object v0
.end method

.method static synthetic d(Lcom/instagram/android/fragment/bk;)Lcom/instagram/android/fragment/bs;
    .locals 1
    .parameter

    .prologue
    .line 33
    iget-object v0, p0, Lcom/instagram/android/fragment/bk;->g:Lcom/instagram/android/fragment/bs;

    return-object v0
.end method

.method static synthetic e(Lcom/instagram/android/fragment/bk;)Landroid/view/View;
    .locals 1
    .parameter

    .prologue
    .line 33
    iget-object v0, p0, Lcom/instagram/android/fragment/bk;->e:Landroid/view/View;

    return-object v0
.end method


# virtual methods
.method public a(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 5
    .parameter
    .parameter
    .parameter

    .prologue
    const/4 v4, 0x0

    .line 98
    sget v0, Lcom/facebook/ax;->fragment_facebook_advanced_options:I

    invoke-virtual {p1, v0, p2, v4}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v1

    .line 99
    sget v0, Lcom/facebook/aw;->fragment_facebook_advanced_options_row_settings_likes:I

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/fragment/bk;->e:Landroid/view/View;

    .line 100
    sget v0, Lcom/facebook/aw;->facebook_posting_options_container:I

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/instagram/android/fragment/bk;->f:Landroid/view/View;

    .line 101
    sget v0, Lcom/facebook/aw;->fragment_facebook_advanced_options_row_settings_likes_checkbox:I

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/widget/IndeterminateCheckBox;

    iput-object v0, p0, Lcom/instagram/android/fragment/bk;->d:Lcom/instagram/android/widget/IndeterminateCheckBox;

    .line 104
    new-instance v0, Lcom/instagram/android/fragment/bo;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/bo;-><init>(Lcom/instagram/android/fragment/bk;)V

    .line 111
    new-instance v2, Lcom/instagram/android/fragment/bp;

    invoke-direct {v2, p0}, Lcom/instagram/android/fragment/bp;-><init>(Lcom/instagram/android/fragment/bk;)V

    .line 121
    iget-object v3, p0, Lcom/instagram/android/fragment/bk;->e:Landroid/view/View;

    invoke-virtual {v3, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 122
    iget-object v3, p0, Lcom/instagram/android/fragment/bk;->d:Lcom/instagram/android/widget/IndeterminateCheckBox;

    invoke-virtual {v3, v0}, Lcom/instagram/android/widget/IndeterminateCheckBox;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 123
    iget-object v0, p0, Lcom/instagram/android/fragment/bk;->f:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 126
    invoke-static {}, Lcom/instagram/android/g/b;->i()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 127
    iget-object v0, p0, Lcom/instagram/android/fragment/bk;->f:Landroid/view/View;

    sget v2, Lcom/facebook/aw;->facebook_posting_options_shareto_title:I

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 130
    invoke-static {}, Lcom/instagram/android/g/b;->h()Lcom/instagram/android/model/c;

    move-result-object v2

    invoke-virtual {v2}, Lcom/instagram/android/model/c;->c()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 133
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/fragment/bk;->e:Landroid/view/View;

    invoke-virtual {v0, v4}, Landroid/view/View;->setEnabled(Z)V

    .line 134
    iget-object v0, p0, Lcom/instagram/android/fragment/bk;->d:Lcom/instagram/android/widget/IndeterminateCheckBox;

    invoke-virtual {v0, v4}, Lcom/instagram/android/widget/IndeterminateCheckBox;->setEnabled(Z)V

    .line 136
    return-object v1
.end method

.method public a()Lcom/instagram/a/a;
    .locals 1

    .prologue
    .line 216
    new-instance v0, Lcom/instagram/android/fragment/br;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/br;-><init>(Lcom/instagram/android/fragment/bk;)V

    return-object v0
.end method

.method public a(IILandroid/content/Intent;)V
    .locals 2
    .parameter
    .parameter
    .parameter

    .prologue
    .line 175
    const/4 v0, -0x1

    if-ne p2, v0, :cond_0

    .line 176
    invoke-static {}, Lcom/instagram/android/g/b;->a()Lcom/facebook/a/b;

    move-result-object v0

    .line 179
    iget-object v1, p0, Lcom/instagram/android/fragment/bk;->g:Lcom/instagram/android/fragment/bs;

    invoke-virtual {v0, v1}, Lcom/facebook/a/b;->a(Lcom/facebook/a/e;)V

    .line 180
    invoke-virtual {v0, p1, p2, p3}, Lcom/facebook/a/b;->a(IILandroid/content/Intent;)V

    .line 182
    :cond_0
    invoke-super {p0, p1, p2, p3}, Lcom/instagram/e/b/b;->a(IILandroid/content/Intent;)V

    .line 183
    return-void
.end method

.method public a(Landroid/os/Bundle;)V
    .locals 4
    .parameter

    .prologue
    .line 48
    invoke-super {p0, p1}, Lcom/instagram/e/b/b;->a(Landroid/os/Bundle;)V

    .line 50
    new-instance v0, Lcom/instagram/android/fragment/bl;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/bl;-><init>(Lcom/instagram/android/fragment/bk;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/bk;->c:Lcom/instagram/android/d/j/a;

    .line 90
    new-instance v0, Lcom/instagram/android/d/e/u;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/bk;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-virtual {p0}, Lcom/instagram/android/fragment/bk;->u()Landroid/support/v4/app/aj;

    move-result-object v2

    iget-object v3, p0, Lcom/instagram/android/fragment/bk;->c:Lcom/instagram/android/d/j/a;

    invoke-direct {v0, v1, v2, v3}, Lcom/instagram/android/d/e/u;-><init>(Landroid/content/Context;Landroid/support/v4/app/aj;Lcom/instagram/android/d/j/a;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/bk;->a:Lcom/instagram/android/d/e/u;

    .line 93
    return-void
.end method

.method public d_()Ljava/lang/String;
    .locals 1

    .prologue
    .line 249
    const-string v0, "facebook_advanced_options"

    return-object v0
.end method

.method public e_()V
    .locals 4

    .prologue
    .line 141
    invoke-super {p0}, Lcom/instagram/e/b/b;->e_()V

    .line 143
    new-instance v0, Lcom/instagram/android/d/e/j;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/bk;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-virtual {p0}, Lcom/instagram/android/fragment/bk;->u()Landroid/support/v4/app/aj;

    move-result-object v2

    new-instance v3, Lcom/instagram/android/fragment/bq;

    invoke-direct {v3, p0}, Lcom/instagram/android/fragment/bq;-><init>(Lcom/instagram/android/fragment/bk;)V

    invoke-direct {v0, v1, v2, v3}, Lcom/instagram/android/d/e/j;-><init>(Landroid/content/Context;Landroid/support/v4/app/aj;Lcom/instagram/android/d/j/a;)V

    invoke-virtual {v0}, Lcom/instagram/android/d/e/j;->g()V

    .line 171
    return-void
.end method
